package com.fowo.api.model.brand;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 品牌管理 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class BrandImportPo {

  /** 所属出库单 */
  @ExcelProperty("所属出库单")
  private String parentStockOutOrderSn;

  @ExcelIgnore
  @Schema(title = "所属出库单")
  private String parentStockOut;

  /** 名称 */
  @ExcelProperty("*名称")
  @NotBlank(message = "名称不能为空")
  @Size(max = 50, message = "名称长度不能超过50")
  private String name;
}
